package com.zjw.zy.service.contract;

import com.zjw.zy.bean.User;
import com.zjw.zy.constant.BindLoveState;
import com.zjw.zy.constant.RegisterUserResult;

import okhttp3.RequestBody;
import retrofit2.Call;
import retrofit2.http.Body;
import retrofit2.http.POST;

/**
 * @author ：zhong.jw
 * @date ：Created in 2022/12/6 9:34
 */
public interface IUserService {


    @POST("/user/register")
    @RegisterUserResult.Des
    Call<Integer> register(@Body RequestBody body);


    @POST("/user/bind")
    @BindLoveState.Des
    Call<Integer> bind(@Body RequestBody body);


    @POST("/user/lover")
    Call<User> lover(@Body RequestBody body);
}
